package com.eastdigit.org.inter;

import com.eastdigit.org.model.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper {
    int deleteByPrimaryKey(String id);

    int insert(Employee record);

    Employee selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Employee record);

    int updateByPrimaryKey(Employee record);

    List<Employee> selectAllEmployees();

    List<Employee> selectAuthedEmployees(@Param("empId") String empId, @Param("menuId") String menuId);

}
